{% extends "base.html" %}
<body>
{% block detail %}
    <div class="main">
        <form action="/login/"  method="post">{% csrf_token %}
        <div class="login_box">
            {% if error %}
                <div style="padding-top: 0px;padding-bottom: 5px;"><span style="color: red;"><p>{{ error }}</p></span></div>
            {% endif %}
            <h3>Username</h3>
            <p class="p01"><input type="text" value="" name="username" class="user_name" /></p>
            <h3>Password</h3>
            <p class="p02"><input type="password" name="password" class="user_password" /></p>
            <input type="hidden" name="next" value="{{ next }}">
            <input type="submit" value="Login" class="loginBtn" /><a href="/forgetPassword/">or Forget Password</a>
        </div>
        </form>
    </div>
{% endblock %}
</body>
</html>